package Dao;

import Bean.Cart;

import java.util.List;

public interface CartDao<T> {
    public void InsertCart(Integer UserID,Integer FurnId);
    public List<T> getAllCartFurn(Integer UserID,Class<T> tClass);
    public T isCartFurn(Integer UserID,Integer FurnID,Class<T> tClass);
    public boolean deleterSomeCart(Integer UserID,Integer FurnID);
    public void deterAllCart(Integer UserID);
    public void SetCartSize(Integer UserID,Integer FurnID,Integer Size);
    public Integer getCount(Integer userId);
}
